﻿namespace TimeTracker.Core.Domain.Entities
{
    public class Korisnik
    {
        private Radnik _radnik = new Radnik();

        public virtual int KorisnikId { get; set; }
        public virtual string KorisnickoIme { get; set; }
        public virtual string Lozinka { get; set; }
        public virtual string Email { get; set; }
        public virtual string Opis { get; set; }
        public virtual int Nivo { get; set; }
        public virtual bool Aktivan { get; set;}

        public virtual Radnik Radnik
        {
            get { return _radnik; }
            set { _radnik = value; }
        }
    }
}
